package cn.ggcms.cms.biz;

import java.util.List;

import cn.ggcms.cms.dao.SoftMirrorDao;
import cn.ggcms.cms.vo.SoftMirror;

public class SoftMirrorBiz implements SoftMirrorDao {

	private SoftMirrorDao softMirrorDao  ;
	
	public void setSoftMirrorDao(SoftMirrorDao softMirrorDao) {
		this.softMirrorDao = softMirrorDao;
	}

	public boolean doDeleteSoftMirrorById(int id) {
		return this.softMirrorDao.doDeleteSoftMirrorById(id);
	}

	public boolean doInsertSoftMirror(SoftMirror softMirror) {
		return this.softMirrorDao.doInsertSoftMirror(softMirror);
	}

	public SoftMirror finSoftMirrorById(int id) {
		return this.softMirrorDao.finSoftMirrorById(id);
	}

	public List<SoftMirror> finSoftMirrors() {
		return this.softMirrorDao.finSoftMirrors();
	}

	public SoftMirror findSoftMirror(SoftMirror softMirror) {
		return this.softMirrorDao.findSoftMirror(softMirror);
	}

	public boolean doUpdateSoftMirror(SoftMirror softMirror) {
		return this.softMirrorDao.doUpdateSoftMirror(softMirror);
	}
	
}
